package com.jixiantubu.bean;

import java.io.Serializable;
import java.util.List;

public class PostInfoBean implements Serializable {

	private static final long serialVersionUID = 1L;
	private int id;// 用户id
	private int times;// 浏览次数
	private int replay_count;// 回复次数
	private String username;// 用户名
	private String user_nickname;
	private String title;// 标题
	private String content;// 内容
	private String createTime;// 发帖时间
	private String user_imgPath;// 头像地址
	private boolean isTop;// 是否置顶
	private boolean isFine;// 是否加精
	private int post_info_TopicID;// 帖子ID
	List<String> pl_img;

	// 发表内容图片地址

	public PostInfoBean() {
		super();
	}

	public String getUser_nickname() {
		return user_nickname;
	}

	public void setUser_nickname(String user_nickname) {
		this.user_nickname = user_nickname;
	}

	public PostInfoBean(String user_nickname, String title, String content,
			String createTime, int post_info_TopicID) {
		super();
		this.user_nickname = user_nickname;
		this.title = title;
		this.content = content;
		this.createTime = createTime;
		this.post_info_TopicID = post_info_TopicID;
	}

	public PostInfoBean(int id, int times, int replay_count, String username,
			String user_nickname, String title, String content,
			String createTime, String user_imgPath, boolean isTop,
			boolean isFine, int post_info_TopicID, List<String> pl_img) {
		super();
		this.id = id;
		this.times = times;
		this.replay_count = replay_count;
		this.username = username;
		this.user_nickname = user_nickname;
		this.title = title;
		this.content = content;
		this.createTime = createTime;
		this.user_imgPath = user_imgPath;
		this.isTop = isTop;
		this.isFine = isFine;
		this.post_info_TopicID = post_info_TopicID;
		this.pl_img = pl_img;
	}

	public PostInfoBean(int id, int times, int replay_count, String username,
			String title, String content, String createTime,
			String user_imgPath, boolean isTop, boolean isFine,
			int post_info_TopicID, List<String> pl_img) {
		super();
		this.id = id;
		this.times = times;
		this.replay_count = replay_count;
		this.username = username;
		this.title = title;
		this.content = content;
		this.createTime = createTime;
		this.user_imgPath = user_imgPath;
		this.isTop = isTop;
		this.isFine = isFine;
		this.post_info_TopicID = post_info_TopicID;
		this.pl_img = pl_img;

	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getTimes() {
		return times;
	}

	public void setTimes(int times) {
		this.times = times;
	}

	public int getReplay_count() {
		return replay_count;
	}

	public void setReplay_count(int replay_count) {
		this.replay_count = replay_count;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getUser_imgPath() {
		return user_imgPath;
	}

	public void setUser_imgPath(String user_imgPath) {
		this.user_imgPath = user_imgPath;
	}

	public boolean isTop() {
		return isTop;
	}

	public void setTop(boolean isTop) {
		this.isTop = isTop;
	}

	public boolean isFine() {
		return isFine;
	}

	public void setFine(boolean isFine) {
		this.isFine = isFine;
	}

	public int getPost_info_TopicID() {
		return post_info_TopicID;
	}

	public void setPost_info_TopicID(int post_info_TopicID) {
		this.post_info_TopicID = post_info_TopicID;
	}

	

	public List<String> getPl_img() {
		return pl_img;
	}

	public void setPl_img(List<String> pl_img) {
		this.pl_img = pl_img;
	}

	@Override
	public String toString() {
		return "PostInfoBean [id=" + id + ", times=" + times
				+ ", replay_count=" + replay_count + ", username=" + username
				+ ", title=" + title + ", content=" + content + ", createTime="
				+ createTime + ", user_imgPath=" + user_imgPath + ", isTop="
				+ isTop + ", isFine=" + isFine + ", post_info_TopicID="
				+ post_info_TopicID + ", pl_img=" + pl_img + "]";
	}

}
